package com.lagou.edu.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "lagou-service-email")
@Service
public interface MailClient {


    @GetMapping("/mail/sendMail")
    Boolean sendMail(@RequestParam String to, @RequestParam String subject,@RequestParam String content);
}
